import { SET_HOME_INFO, SET_HOME_INFO_TYPE } from '../types';

interface HomeInfoType {
    type: SET_HOME_INFO_TYPE,
    payload?: {}
}

export type ModifyAction = HomeInfoType;


export const setHomeInfo = (payload: {}) => {
    return {
        type: SET_HOME_INFO,
        payload
    }
}
